package com.telit.uav.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;


/**
 * comm_uav
 *
 * @author
 */
@ApiModel(value = "无人机表型号表")
@Data
public class CommUavModel implements Serializable {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 设备型号
     */
    @ApiModelProperty(value = "设备型号")
    private String model;

    /**
     * 设备厂商id
     */
    @ApiModelProperty(value = "设备厂商id")
    @NotBlank(message = "设备厂商不能为空")
    private Long producterId;

    /**
     * 图片
     */
    @ApiModelProperty(value = "型号对应的图片url")
    private String imageUrl;

    @ApiModelProperty(value = "是否使用默认  0 否  1 是")
    @NotBlank(message = "是否使用默认不能为空")
    private Integer isDefault;

    @ApiModelProperty(value = "创建时间", dataType = "LocalDateTime")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新时间", dataType = "LocalDateTime")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "删除时间", dataType = "LocalDateTime")
    private Date deleteTime;

}